package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 个人积分统计表增删改查对象 personal_integral
 * 
 * @author hyb
 * @date 2023-02-18
 */
public class PersonalIntegral extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 真实名称 */
    @Excel(name = "真实名称")
    private String realName;

    /** 学号 */
    @Excel(name = "学号")
    private String userNumber;

    /** 性别 */
    @Excel(name = "性别")
    private Long sex;

    /** 德育必修 */
    @Excel(name = "德育必修")
    private BigDecimal moralityYes;

    /** 德育选修 */
    @Excel(name = "德育选修")
    private BigDecimal moralityNo;

    /** 智育必修 */
    @Excel(name = "智育必修")
    private BigDecimal intelligenceYes;

    /** 智育选修 */
    @Excel(name = "智育选修")
    private BigDecimal intelligenceNo;

    /** 体育必修 */
    @Excel(name = "体育必修")
    private BigDecimal sportYes;

    /** 体育选修 */
    @Excel(name = "体育选修")
    private BigDecimal sportNo;

    /** 美育必修 */
    @Excel(name = "美育必修")
    private BigDecimal artYes;

    /** 美育选修 */
    @Excel(name = "美育选修")
    private BigDecimal artNo;

    /** 劳育必修 */
    @Excel(name = "劳育必修")
    private BigDecimal workYes;

    /** 劳育选修 */
    @Excel(name = "劳育选修")
    private BigDecimal workNo;

    /** $column.columnComment */
    private String pf1;

    /** $column.columnComment */
    private String pf2;

    /** $column.columnComment */
    private String pf3;

    /** $column.columnComment */
    private String pf4;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setUserNumber(String userNumber) 
    {
        this.userNumber = userNumber;
    }

    public String getUserNumber() 
    {
        return userNumber;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setMoralityYes(BigDecimal moralityYes)
    {
        this.moralityYes = moralityYes;
    }

    public BigDecimal getMoralityYes()
    {
        return moralityYes;
    }
    public void setMoralityNo(BigDecimal moralityNo)
    {
        this.moralityNo = moralityNo;
    }

    public BigDecimal getMoralityNo()
    {
        return moralityNo;
    }
    public void setIntelligenceYes(BigDecimal intelligenceYes)
    {
        this.intelligenceYes = intelligenceYes;
    }

    public BigDecimal getIntelligenceYes()
    {
        return intelligenceYes;
    }
    public void setIntelligenceNo(BigDecimal intelligenceNo)
    {
        this.intelligenceNo = intelligenceNo;
    }

    public BigDecimal getIntelligenceNo()
    {
        return intelligenceNo;
    }
    public void setSportYes(BigDecimal sportYes)
    {
        this.sportYes = sportYes;
    }

    public BigDecimal getSportYes()
    {
        return sportYes;
    }
    public void setSportNo(BigDecimal sportNo)
    {
        this.sportNo = sportNo;
    }

    public BigDecimal getSportNo()
    {
        return sportNo;
    }
    public void setArtYes(BigDecimal artYes)
    {
        this.artYes = artYes;
    }

    public BigDecimal getArtYes()
    {
        return artYes;
    }
    public void setArtNo(BigDecimal artNo)
    {
        this.artNo = artNo;
    }

    public BigDecimal getArtNo()
    {
        return artNo;
    }
    public void setWorkYes(BigDecimal workYes)
    {
        this.workYes = workYes;
    }

    public BigDecimal getWorkYes()
    {
        return workYes;
    }
    public void setWorkNo(BigDecimal workNo)
    {
        this.workNo = workNo;
    }

    public BigDecimal getWorkNo()
    {
        return workNo;
    }
    public void setPf1(String pf1) 
    {
        this.pf1 = pf1;
    }

    public String getPf1() 
    {
        return pf1;
    }
    public void setPf2(String pf2) 
    {
        this.pf2 = pf2;
    }

    public String getPf2() 
    {
        return pf2;
    }
    public void setPf3(String pf3) 
    {
        this.pf3 = pf3;
    }

    public String getPf3() 
    {
        return pf3;
    }
    public void setPf4(String pf4) 
    {
        this.pf4 = pf4;
    }

    public String getPf4() 
    {
        return pf4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("realName", getRealName())
            .append("userNumber", getUserNumber())
            .append("sex", getSex())
            .append("moralityYes", getMoralityYes())
            .append("moralityNo", getMoralityNo())
            .append("intelligenceYes", getIntelligenceYes())
            .append("intelligenceNo", getIntelligenceNo())
            .append("sportYes", getSportYes())
            .append("sportNo", getSportNo())
            .append("artYes", getArtYes())
            .append("artNo", getArtNo())
            .append("workYes", getWorkYes())
            .append("workNo", getWorkNo())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("pf1", getPf1())
            .append("pf2", getPf2())
            .append("pf3", getPf3())
            .append("pf4", getPf4())
            .toString();
    }
}
